a = [23, 45, 66, 82, 97, 120, 135]
b = []
c = []
for i in a:
    if i % 2 ==0:
        b.append(i)
    else:
        c.append(i)
print(f'奇数有{b}，偶数有{c}')